package com.hw.springcloud.service;

import com.hw.springcloud.entities.CommonResult;
import com.hw.springcloud.entities.Payment;
import org.springframework.stereotype.Component;

/**
 * @Classname: OrderServiceImpl
 * @Description: 描述
 * @Date: 2021/12/17
 * @Author: HuWei
 */
@Component
public class OrderServiceImpl implements OrderService {
    @Override
    public CommonResult<Payment> getById(Long id) {
        return new CommonResult<>(500, "异常了~~", new Payment());
    }
}
